from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys

driver=webdriver.Firefox()
driver.get('http://10.59.9.14:7003/')

ddd=driver.find_element(By.LINK_TEXT,'首页')
# 文本值
print(ddd.text)
# 宽高
print(ddd.size)
# 坐标值
print(ddd.location)
# 是否显示
print(ddd.is_displayed())
# 是否可用
print(ddd.is_enabled())
# 是否选中
print(ddd.is_selected())





